﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     
	xmlns:nRoute="clr-namespace:nRoute.Controls;assembly=nRoute.Framework">
    
	<!-- CONTAINER STYLE, Note the target type -->
	<Style x:Key="OfficerContainerStyle" TargetType="nRoute:NavigationContainer">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="nRoute:NavigationContainer">
					<Grid>
                        
                        <!-- VISUAL STATES -->
						<VisualStateManager.VisualStateGroups>
							<VisualStateGroup x:Name="NavigationStates">
								<VisualState x:Name="UnNavigated"/>
								<VisualState x:Name="Navigating"/>
								<VisualState x:Name="Navigated"/>
                                <VisualState x:Name="NavigationFailed" />
							</VisualStateGroup>
						</VisualStateManager.VisualStateGroups>
                        
                        <ContentPresenter/>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
    
</ResourceDictionary>